module.exports = {
  publicPath: "./",
  productionSourceMap: false,
  configureWebpack: {
    // provide the app's title in webpack's name field, so that
    // it can be accessed in index.html to inject the correct title.
    name: "广慈-太保互联网医院"
  },
  devServer: {
    open: true,
    port: 8888,
    proxy: {
      "/v1": {
        target: "https://cloudhis-dev.cpic.com.cn/api/patient/v1",
        ws: true,
        changeOrigin: true,
        pathRewrite: { "^/v1": "" }
      }
    },
    overlay: {
      warnings: false,
      errors: false
    }
  },
  runtimeCompiler: true
};
